<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
	<link href='${theme}/css/error_page.css' rel='stylesheet' type='text/css'>
	<title>Error</title>
</head>
<body>
	<p class="error-code">
		500
	</p>
	<p class="not-found">出现<br/>错误</p>
	<div class="clear"></div>
	<div class="content">
		<div class="exception" <c:if test="${!(debugMode eq 'true')}">style="display: none;"</c:if> >
		<% Exception ex = (Exception)request.getAttribute("exception"); %>
		<% if (ex != null) { %>
		<p>Exception: <%= ex.getMessage()%></p>
		<p>
			<% ex.printStackTrace(new java.io.PrintWriter(out)); %>
		</p>
		<% } %>
		<c:if test="${!empty model.errorTips}">
			<p>${model.errorTips}</p>
		</c:if>
	</div>
		<br/><a href="javascript:history.back();" id="back">返回</a>
	</div>
</body>
</html>
